public class GetChinese {
    public static void main(String[] args) {
        String str = "0 16 63 -8 1 0 1 0 1 0 1 4 -1 -2 1 0 1 0 1 0 1 0 1 0 1 0 1 0 5 0 2 0";
        String[] arr = str.split(" ");
        int[] nums = new int[32];
        for (int i = 0; i < 32; i++) {
            nums[i] = Integer.parseInt(arr[i]);
        }
        for (int i = 0; i < 32; i += 2) {
            String str1 = Integer.toBinaryString(nums[i]);
            while (str1.length() < 32) {
                str1 = "0" + str1;
            }
            String str2 = Integer.toBinaryString(nums[i + 1]);
            while (str2.length() < 32) {
                str2 = "0" + str2;
            }
            System.out.print(str1 + str2 + "\n");
        }
        System.out.print(Math.round(Math.pow(9, 9)));
    }
}
